import { observer } from "mobx-react";
import DMEditor from "../editor";

@observer
export default class Content extends React.Component {
    render() {
        const { store } = this.props;
        return (
            store.visible ? <DMEditor store={store}></DMEditor> : null
        )
    }
}